package com.twu.biblioteca;

import com.twu.biblioteca.Library.LibraryItems.IInventory;

import java.util.Iterator;

/**
 * Created with IntelliJ IDEA.
 * User: mini server
 * Date: 9/20/13
 * Time: 11:27 AM
 * To change this template use File | Settings | File Templates.
 */
class MockInventory implements IInventory
{
    private int type= 0;
    private int numberItems = 0;

    public MockInventory()
    {

    }

    public void setNumberOfItems(int numberOfItems)
    {
        this.numberItems = numberOfItems;
    }

    public void setTypeOfInventory(int typeOfInventory)
    {
        this.type = typeOfInventory;
    }

    @Override
    public int numOfItemsInInventory() {
        return numberItems;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public int typeOfInventory() {
        return type;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public Iterator returnIterator() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public String list() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public boolean reserveAnItem(String id) {
        return false;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
